import Layout from '@/page/index/'
export default [
  {
    path: '/wel',
    component: Layout,
    redirect: '/wel/index',
    children: [
      {
        path: 'index',
        name: '工作台',
        component: () => import(/* webpackChunkName: "views" */ '@/views/wel')
      }
    ]
  },
  {
    path: '/tree',
    component: Layout,
    redirect: '/tree/index',
    children: [
      {
        path: 'index',
        name: '社区门禁',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/tree/index')
      }
    ]
  },
  {
    path: '/report',
    component: Layout,
    redirect: '/report/capacity_bank',
    children: [
      {
        path: 'capacity_bank',
        name: '企业总览',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/capacity_bank')
      }
    ]
  },
  {
    path: '/report',
    component: Layout,
    redirect: '/report/report_todo',
    children: [
      {
        path: 'report_todo',
        name: '待办事项',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/report_todo')
      }
    ]
  },
  {
    path: '/report',
    component: Layout,
    redirect: '/report/report_enter',
    children: [
      {
        path: 'report_enter',
        name: '数据分析',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/report_enter')
      }
    ]
  },
  {
    path: '/archives',
    component: Layout,
    redirect: '/archives/addEmployee',
    children: [
      {
        path: 'addEmployee',
        name: '新增人事档案',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/admin/archives/employee')
      }
    ]
  },
  {
    path: '/report',
    component: Layout,
    redirect: '/report/capacity_power',
    children: [
      {
        path: 'capacity_power',
        name: '用电详情',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/capacity_power')
      }
    ]
  },
  {
    path: '/report',
    component: Layout,
    redirect: '/report/dkcs',
    children: [
      {
        path: 'dkcs',
        name: '贷款催收',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/dkcs')
      }
    ]
  },
  {
    path: '/report',
    component: Layout,
    redirect: '/report/ckwh',
    children: [
      {
        path: 'ckwh',
        name: '客户维护',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/ckwh')
      }
    ]
  },
  {
    path: '/report',
    component: Layout,
    redirect: '/report/dbsx',
    children: [
      {
        path: 'dbsx',
        name: '待办事项',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/dbsx')
      }
    ]
  },
  {
    path: '/data',
    component: Layout,
    redirect: '/data/park',
    children: [
      {
        path: 'park',
        name: '园区列表',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/data/park')
      }
    ]
  },
  {
    path: '/data',
    component: Layout,
    redirect: '/data/company',
    children: [
      {
        path: 'company',
        name: '公司列表',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/data/company')
      }
    ]
  },
  {
    path: '/data',
    component: Layout,
    redirect: '/data/company_search',
    children: [
      {
        path: 'company_search',
        name: '我的企业',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/data/company_search')
      },
      {
        path: 'quest',
        name: '调查问卷',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/data/quest')
      }
    ]
  },
  {
    path: '/zhgl',
    component: Layout,
    redirect: '/zhgl/report_worning_park',
    children: [
      {
        path: 'report_worning_park',
        name: '异常通知',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/report_worning_park')
      }
    ]
  },
  {
    path: '/zhgl',
    component: Layout,
    redirect: '/zhgl/report_marketing_park',
    children: [
      {
        path: 'report_marketing_park',
        name: '精准营销',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/report_marketing_park')
      }
    ]
  },
  {
    path: '/zhgl',
    component: Layout,
    redirect: '/zhgl/report_park',
    children: [
      {
        path: 'report_park',
        name: '信息查询',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/report/report_park')
      }
    ]
  },
  {
    path: '/info',
    component: Layout,
    redirect: '/info/index',
    children: [
      {
        path: 'index',
        name: '修改信息',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/admin/user/info')
      }
    ]
  },
  {
    path: '/companyDetail',
    component: Layout,
    redirect: '/companyDetail/index',
    children: [
      {
        path: 'index',
        name: '公司详情',
        component: () =>
          import(/* webpackChunkName: "views" */ '@/views/data/companyDetail')
      }
    ]
  }
]
